home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / Genie / Projects / Pedestal / Source / Includes / PedPaneIconAnimated.hh < prev    next >
Encoding:
Text File  |  2000-06-24  |  664 b   |  33 lines

  1. /*    ======================
  2.  *    PedPaneIconAnimated.hh
  3.  *    ======================
  4.  *    
  5.  *    Implemented by PedPaneIconAnimated.cc
  6.  */
  7.  
  8. #pragma once
  9.  
  10. #include <Events.h>
  11.  
  12. #include "PedPaneIcon.hh"
  13. #include "PedChoreGeneric.hh"
  14.  
  15. class PedPaneIconAnimated : public PedPaneIcon {
  16. public:
  17.     PedPaneIconAnimated(PedView &inSuperView);
  18.     virtual ~PedPaneIconAnimated();
  19.     virtual void DispatchClickEvent(EventRecord &inEvent);
  20.     virtual void DispatchNullEvent(EventRecord &inEvent);
  21.     
  22.     virtual void Animate();
  23.     
  24. protected:
  25.     virtual void Draw();
  26.     bool mAnimating;
  27.     long mCountFrames;
  28.     long mCurrentFrame;
  29.     long mTicksPerFrame;
  30.     long mLastAdvance;
  31.     PedChoreGeneric *mAnimateChore;
  32. };
  33.